<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--引入样式-->
    <link rel="stylesheet" type="text/css" href="../easyui/themes/black/easyui.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
    <!--jquery-->
    <script type="text/javascript" src="../easyui/jquery.min.js"></script>
    <!--easyUI-->
    <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
    <script src="../easyui/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
    <!--js-->
    <script>
        $(function () {
            $("#myDialog").dialog({
                title:"弹出框标题",
                height:500,
                width:500,
                tools:"#tools",
                toolbar:"#toolbar",
                buttons:"#button"

            });
            $("#myDialog").dialog("center");
        })
    </script>
    <div id="myDialog" class="easyui-dialog"></div>
    <div id="tools" >
        <a class="easyui-linkbutton" iconCls="icon-add" id="btn1" >新增</a>
        <a class="easyui-linkbutton" iconCls="icon-emoji1" id="btn2" >编辑</a>
    </div>
    <div id="toolbar" >
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" >新增</a>
        <a class="easyui-linkbutton" iconCls="icon-emoji1"  plain="true" >编辑</a>
    </div>

    <div id="button" >
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="console.log(1)" >新增</a>
        <a class="easyui-linkbutton" iconCls="icon-emoji1"  plain="true" onclick="console.log(2)" >编辑</a>
    </div>
</body>
</html>